<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>tft: xtft.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">tft
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xtft_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xtft.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga7cb92a2667272b013b8fccb0df1307ad"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga7cb92a2667272b013b8fccb0df1307ad">XTft_CfgInitialize</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr, <a class="el" href="struct_x_tft___config.html">XTft_Config</a> *ConfigPtr, UINTPTR EffectiveAddr)</td></tr>
<tr class="memdesc:ga7cb92a2667272b013b8fccb0df1307ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes a TFT Driver Instance.  <a href="group__tft__v5__0.html#ga7cb92a2667272b013b8fccb0df1307ad">More...</a><br /></td></tr>
<tr class="separator:ga7cb92a2667272b013b8fccb0df1307ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabb17655cf7670fad99d96f1e92692b05"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#gabb17655cf7670fad99d96f1e92692b05">XTft_SetPos</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr, u32 ColVal, u32 RowVal)</td></tr>
<tr class="memdesc:gabb17655cf7670fad99d96f1e92692b05"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function updates the column, row position in the Instance structure of driver.  <a href="group__tft__v5__0.html#gabb17655cf7670fad99d96f1e92692b05">More...</a><br /></td></tr>
<tr class="separator:gabb17655cf7670fad99d96f1e92692b05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7416b0a7b68676ae4791aef9816683de"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga7416b0a7b68676ae4791aef9816683de">XTft_SetPosChar</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr, u32 ColVal, u32 RowVal)</td></tr>
<tr class="memdesc:ga7416b0a7b68676ae4791aef9816683de"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function changes the column, row position in the Instance structure of driver.  <a href="group__tft__v5__0.html#ga7416b0a7b68676ae4791aef9816683de">More...</a><br /></td></tr>
<tr class="separator:ga7416b0a7b68676ae4791aef9816683de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga689206aec1006c6231f4b10062a8eeb0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga689206aec1006c6231f4b10062a8eeb0">XTft_SetColor</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr, u32 FgColor, u32 BgColor)</td></tr>
<tr class="memdesc:ga689206aec1006c6231f4b10062a8eeb0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function changes the color values in the instance structure of driver.  <a href="group__tft__v5__0.html#ga689206aec1006c6231f4b10062a8eeb0">More...</a><br /></td></tr>
<tr class="separator:ga689206aec1006c6231f4b10062a8eeb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4efcd245e6e68c56641138123e3f67cc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga4efcd245e6e68c56641138123e3f67cc">XTft_SetPixel</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr, u32 ColVal, u32 RowVal, u32 PixelVal)</td></tr>
<tr class="memdesc:ga4efcd245e6e68c56641138123e3f67cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the pixel with the given color at the given column, row position.  <a href="group__tft__v5__0.html#ga4efcd245e6e68c56641138123e3f67cc">More...</a><br /></td></tr>
<tr class="separator:ga4efcd245e6e68c56641138123e3f67cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga577850dbb8a67f20b52c42a818074381"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga577850dbb8a67f20b52c42a818074381">XTft_GetPixel</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr, u32 ColVal, u32 RowVal, u32 *PixelVal)</td></tr>
<tr class="memdesc:ga577850dbb8a67f20b52c42a818074381"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets the color of the pixel at the given column, row position.  <a href="group__tft__v5__0.html#ga577850dbb8a67f20b52c42a818074381">More...</a><br /></td></tr>
<tr class="separator:ga577850dbb8a67f20b52c42a818074381"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1cc88ecc501ab053fdccbcb270315068"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga1cc88ecc501ab053fdccbcb270315068">XTft_Write</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr, u8 CharValue)</td></tr>
<tr class="memdesc:ga1cc88ecc501ab053fdccbcb270315068"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function performs one of the following three operations based on the CharValue passed :  <a href="group__tft__v5__0.html#ga1cc88ecc501ab053fdccbcb270315068">More...</a><br /></td></tr>
<tr class="separator:ga1cc88ecc501ab053fdccbcb270315068"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga40c2b5ed76baff0d64b5a78b67620184"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga40c2b5ed76baff0d64b5a78b67620184">XTft_Scroll</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga40c2b5ed76baff0d64b5a78b67620184"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function inserts a new blank line at the bottom of the screen, it deletes the first line and moves the remaining lines up by one line.  <a href="group__tft__v5__0.html#ga40c2b5ed76baff0d64b5a78b67620184">More...</a><br /></td></tr>
<tr class="separator:ga40c2b5ed76baff0d64b5a78b67620184"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4181b68f12ba322250de4e29ef453abe"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga4181b68f12ba322250de4e29ef453abe">XTft_ClearScreen</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga4181b68f12ba322250de4e29ef453abe"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function re-initializes all the pixels to the default background color.  <a href="group__tft__v5__0.html#ga4181b68f12ba322250de4e29ef453abe">More...</a><br /></td></tr>
<tr class="separator:ga4181b68f12ba322250de4e29ef453abe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad4dd01f62992007c014fc4a13d39abdf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#gad4dd01f62992007c014fc4a13d39abdf">XTft_FillScreen</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr, u32 ColStartVal, u32 RowStartVal, u32 ColEndVal, u32 RowEndVal, u32 PixelVal)</td></tr>
<tr class="memdesc:gad4dd01f62992007c014fc4a13d39abdf"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function fills the screen with the range defined by the start and end values of column and row with the color passed as argument.  <a href="group__tft__v5__0.html#gad4dd01f62992007c014fc4a13d39abdf">More...</a><br /></td></tr>
<tr class="separator:gad4dd01f62992007c014fc4a13d39abdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga308d28143a386bcde54db714f43ae737"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga308d28143a386bcde54db714f43ae737">XTft_EnableDisplay</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga308d28143a386bcde54db714f43ae737"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables the TFT display by setting the Display Enable bit in the Control register.  <a href="group__tft__v5__0.html#ga308d28143a386bcde54db714f43ae737">More...</a><br /></td></tr>
<tr class="separator:ga308d28143a386bcde54db714f43ae737"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5324d540859b06ca950fbf07d466a7fe"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga5324d540859b06ca950fbf07d466a7fe">XTft_DisableDisplay</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga5324d540859b06ca950fbf07d466a7fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function disables the TFT display by clearing the Display Enable bit in the Control register.  <a href="group__tft__v5__0.html#ga5324d540859b06ca950fbf07d466a7fe">More...</a><br /></td></tr>
<tr class="separator:ga5324d540859b06ca950fbf07d466a7fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaab5334330486fb514c230f98702d485a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#gaab5334330486fb514c230f98702d485a">XTft_ScanReverse</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr)</td></tr>
<tr class="memdesc:gaab5334330486fb514c230f98702d485a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables reverse scan by setting the Display Scan Control(DPS) bit in the Control register.  <a href="group__tft__v5__0.html#gaab5334330486fb514c230f98702d485a">More...</a><br /></td></tr>
<tr class="separator:gaab5334330486fb514c230f98702d485a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga62eadbfc2233460b7ae8003c34347c01"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga62eadbfc2233460b7ae8003c34347c01">XTft_ScanNormal</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga62eadbfc2233460b7ae8003c34347c01"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables normal scan by clearing the Display Scan Control(DPS) bit in the Control register.  <a href="group__tft__v5__0.html#ga62eadbfc2233460b7ae8003c34347c01">More...</a><br /></td></tr>
<tr class="separator:ga62eadbfc2233460b7ae8003c34347c01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga56ccbb6cd6478cd5bd330ef70f733b4a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga56ccbb6cd6478cd5bd330ef70f733b4a">XTft_SetFrameBaseAddr</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr, UINTPTR NewFrameBaseAddr)</td></tr>
<tr class="memdesc:ga56ccbb6cd6478cd5bd330ef70f733b4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function changes the Video Memory Base address stored in the Address Register.  <a href="group__tft__v5__0.html#ga56ccbb6cd6478cd5bd330ef70f733b4a">More...</a><br /></td></tr>
<tr class="separator:ga56ccbb6cd6478cd5bd330ef70f733b4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6c43a240d09cc381fef702e397b2d24b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga6c43a240d09cc381fef702e397b2d24b">XTft_WriteReg</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr, u32 RegOffset, u32 Data)</td></tr>
<tr class="memdesc:ga6c43a240d09cc381fef702e397b2d24b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write a value to a TFT register.  <a href="group__tft__v5__0.html#ga6c43a240d09cc381fef702e397b2d24b">More...</a><br /></td></tr>
<tr class="separator:ga6c43a240d09cc381fef702e397b2d24b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga254efd25fdc63b78691a33ed565ae759"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga254efd25fdc63b78691a33ed565ae759">XTft_ReadReg</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr, u32 RegOffset)</td></tr>
<tr class="memdesc:ga254efd25fdc63b78691a33ed565ae759"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read a value from a TFT register.  <a href="group__tft__v5__0.html#ga254efd25fdc63b78691a33ed565ae759">More...</a><br /></td></tr>
<tr class="separator:ga254efd25fdc63b78691a33ed565ae759"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3241465696077377ea4000f4caca21a7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga3241465696077377ea4000f4caca21a7">XTft_IntrEnable</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga3241465696077377ea4000f4caca21a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables the Vsync Interrupt in the Interrupt Enable and Status Register.  <a href="group__tft__v5__0.html#ga3241465696077377ea4000f4caca21a7">More...</a><br /></td></tr>
<tr class="separator:ga3241465696077377ea4000f4caca21a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1bc1f7d9c152c6e661cd125f4c190dd8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#ga1bc1f7d9c152c6e661cd125f4c190dd8">XTft_IntrDisable</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga1bc1f7d9c152c6e661cd125f4c190dd8"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function disables the Vsync Interrupt in the Interrupt Enable and Status Register.  <a href="group__tft__v5__0.html#ga1bc1f7d9c152c6e661cd125f4c190dd8">More...</a><br /></td></tr>
<tr class="separator:ga1bc1f7d9c152c6e661cd125f4c190dd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacc8325682d029d3618ff0a7d6ee265dc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__tft__v5__0.html#gacc8325682d029d3618ff0a7d6ee265dc">XTft_GetVsyncStatus</a> (<a class="el" href="struct_x_tft.html">XTft</a> *InstancePtr)</td></tr>
<tr class="memdesc:gacc8325682d029d3618ff0a7d6ee265dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets the Vsync(Video address latch) status from the Interrupt Enable and Status Register.  <a href="group__tft__v5__0.html#gacc8325682d029d3618ff0a7d6ee265dc">More...</a><br /></td></tr>
<tr class="separator:gacc8325682d029d3618ff0a7d6ee265dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
